<template>
  <el-dialog title="控制点" :modelValue="visible" width="500px" @close="$emit('closed')">
    <div>
      <el-table :data="data" style="width: 100%">
        <el-table-column prop="prop" label="label" width="width" />
      </el-table>
      {{ power?.powerAcross }}
    </div>
  </el-dialog>
</template>

<script setup lang="ts">
import useCalculatePower from '@/composables/useCalculatePower'
import { ref } from 'vue'

const { visible } = defineProps({
  visible: { type: Boolean, default: false },
})

const emit = defineEmits(['closed'])
const data = ref()
const columns = ref()

const { find, power } = useCalculatePower()

find(74)
</script>

<style></style>
